Tidy: disallow TODO in other in-tree projects#153166
Tidy: disallow TODO in other in-tree projects#153166reddevilmidzy wants to merge 3 commits intorust-lang:mainfrom
Conversation
|
Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 Some changes occurred in compiler/rustc_codegen_gcc |
|
Tidy does not run inside the cg_clif and cg_gcc repos, which means whenever we do a sync, there is a fair chance that we did be forced to male changes when tidy complains. |
I would suggest not running full Also, doesn't rust-lang/compiler-team#963 only say TODO -> FIXME? Not other |
|
Ah, I overinterpreted it — my mistake. Thanks for the clarification. I’ll update it accordingly. |
This comment has been minimized.
This comment has been minimized.
8af1d2e to
474d3e6
Compare
474d3e6 to
ac17a97
Compare
89a1cb9 to
2617d54
Compare
There was a problem hiding this comment.
I've also added a TODO check to the CI for cg_* (rust-lang/rustc_codegen_cranelift#1632, rust-lang/rustc_codegen_gcc#861).
There was a problem hiding this comment.
I tried to add cg_* checks to style.rs, which checks TODOs in tidy, but since it also checks other things besides TODOs, I separated it into codegen.rs.
| } | ||
| } | ||
|
|
||
| // todo: this function now accepts `Session` instead of `ParseSess` and should be relocated |
This comment has been minimized.
This comment has been minimized.
2617d54 to
a035848
Compare
Fixes: #152280
MCP: rust-lang/compiler-team#963
I've separated the commits for easier review.
TODO
cg_clift: Add TODO checker to cg_clift rustc_codegen_cranelift#1632cg_gcc: Add TODO checker to cg_gcc rustc_codegen_gcc#861r? lcnr